local qiaoji = fk.CreateSkill({
    name = "sj6__qiaoji",
    tags = {Skill.Compulsory},
})
  
  Fk:loadTranslationTable{
    ["sj6__qiaoji"] = "峭急",
    [":sj6__qiaoji"] = "<b>锁定技</b>，当你使用非锦囊牌后回复2点体力、摸三张牌，然后失去4点体力、弃置五张手牌（不足则不失去，不足则不弃）。",
  
    ["$sj6__qiaoji1"] = "为将者，当躬冒矢石！",
    ["$sj6__qiaoji2"] = "吾承父兄之志，危又何惧？",
  }

  qiaoji:addEffect(fk.CardUseFinished, {
    can_trigger = function(self, event, target, player, data)
      return target == player and player:hasSkill(qiaoji.name) and data.card.type ~= Card.TypeTrick and not player.dead
    end,
    on_cost = Util.TrueFunc,
    on_use = function(self, event, target, player, data)
      local room = player.room
      room:recover{
        who = player,
        num = 2,
        recoverBy = player,
        skillName = qiaoji.name,
      }
      if not player.dead then
        room:drawCards(player,3,qiaoji.name)
      end
      if not player.dead and player.hp > 3 then
        room:loseHp(player,4,qiaoji.name)
      end
      if not player.dead and player:getHandcardNum() > 4 then
        room:askToDiscard(player,{
          min_num = 5,
          max_num = 5,
          skill_name = qiaoji.name,
          cancelable = false,
          include_equip = false,
        })
      end
    end,
  })

  return qiaoji